<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<div class="container">
	<form class="form-horizontal" role="form" id="systemConfigForm">
		<div class="row text-center outer">
			<h3>系统参数</h3>
		</div>
		<!-- 操作 -->
		<br />
		<div class="row">
			<!-- 系统参数配置 -->
			<div class="col-md-3"><div id="system_params" class="hidden">${params}</div></div>
			<div class="col-md-6">
				<div class="form-group">
					<label class="col-sm-4 control-label">单次最多执行数 <strong class="driverVerifcateRequired">*</strong></label>
					<div class="col-sm-8">
						<input type="number" class="form-control" max="20000" min="1" asd-valid="require"
							name="fastsyncer.worker.task.max.number">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">批量执行数 <strong class="driverVerifcateRequired">*</strong></label>
					<div class="col-sm-8">
						<input type="number" class="form-control" max="5000" min="1" asd-valid="require"
							name="fastsyncer.worker.batch.number">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">线程数 <strong class="driverVerifcateRequired">*</strong></label>
					<div class="col-sm-8">
						<input type="number" class="form-control" max="200" min="1" asd-valid="require"
							name="fastsyncer.worker.thread.number">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-4 control-label">允许IP访问Webservice<strong class="driverVerifcateRequired">*</strong></label>
					<div class="col-sm-8">
						<textarea name="fastsyncer.rest.ws.approval.ips" class="form-control" maxlength="128" asd-valid="require" rows="3" placeholder="格式:127.0.0.1|10.238.206.222|..."></textarea>
					</div>
				</div>
				<div class="form-group">
					<div class="text-right col-sm-4"></div>
					<div class="text-right col-sm-8">
						<button id="systemConfigSubBtn" type="button" class="btn btn-primary pull-right">
							<span class="fa fa-save"></span> 保存
						</button>
					</div>
				</div>
			</div>
			<div class="col-md-3"></div>
		</div>
	</form>
</div>
<script type="text/javascript"
	src="<%=basePath%>/style/js/system/system.js"></script>